package com.shxc.smarttrade.old.bean;

import java.util.List;

/**
 * Created by jcdev1 on 2017/11/4.
 */

public class TradeAccountInfo extends ErrorStatus {

    /**
     * data : {"userAccount":[{"userId":900,"mt4Id":11723371,"accType":1,"passwd":null,"createdAt":1509527451000,"desTime":null,"nowAccount":false},{"userId":900,"mt4Id":null,"accType":0,"passwd":null,"createdAt":1509527451000,"desTime":1509527448000,"nowAccount":false}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<UserAccountBean> userAccount;

        public List<UserAccountBean> getUserAccount() {
            return userAccount;
        }

        public void setUserAccount(List<UserAccountBean> userAccount) {
            this.userAccount = userAccount;
        }

        public static class UserAccountBean {
            /**
             * userId : 900
             * mt4Id : 11723371
             * accType : 1
             * passwd : null
             * createdAt : 1509527451000
             * desTime : null
             * nowAccount : false
             */

            private int userId;
            private int mt4Id;
            private int accType;
            private String passwd;
            private long createdAt;
            private Object desTime;
            private boolean nowAccount;
            private boolean destroy;

            public boolean isDestroy() {
                return destroy;
            }

            public void setDestroy(boolean destroy) {
                this.destroy = destroy;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getMt4Id() {
                return mt4Id;
            }

            public void setMt4Id(int mt4Id) {
                this.mt4Id = mt4Id;
            }

            public int getAccType() {
                return accType;
            }

            public void setAccType(int accType) {
                this.accType = accType;
            }

            public String getPasswd() {
                return passwd;
            }

            public void setPasswd(String passwd) {
                this.passwd = passwd;
            }

            public long getCreatedAt() {
                return createdAt;
            }

            public void setCreatedAt(long createdAt) {
                this.createdAt = createdAt;
            }

            public Object getDesTime() {
                return desTime;
            }

            public void setDesTime(Object desTime) {
                this.desTime = desTime;
            }

            public boolean isNowAccount() {
                return nowAccount;
            }

            public void setNowAccount(boolean nowAccount) {
                this.nowAccount = nowAccount;
            }
        }
    }
}
